<template>
  <div>
    <router-view></router-view>

    <van-tabbar v-model="active"  route>
      <van-tabbar-item to="/home/page" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/home/paperwork" icon="orders-o">文案</van-tabbar-item>
      <van-tabbar-item to="/home/info" icon="envelop-o">信息</van-tabbar-item>
      <van-tabbar-item to="/home/user" icon="friends-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "Home",
  data(){
    return{
      active:0
    }
  }
}
</script>

<style scoped>

</style>